import Vue from 'vue'

import loadingInPage from "@/components/commonComponents/loadingInPage.vue"
import bodyWrap from "@/components/commonComponents/contentBody.vue"

Vue.component("loadingInPage", loadingInPage);

Vue.component("bodyWrap", bodyWrap);

Vue.filter("eventLevelTOTxt", (val) => {
  return _data.eventLevel[parseInt(val)];
});

Vue.filter("riskLevelTOTxt", (val) => {
  return _data.riskLevel[parseInt(val)];
});

Vue.filter("todayStatus", (val) => {
  return {
    1: '请示领导', 2: '退回', 3: '同意',4:"归档"
  }[val];
});


Vue.filter("imgUrlFilter", function(val){
  return "http" + val;
});
